/* eslint-disable import/prefer-default-export */
export const REG_SPACE = /\s/g;
export const REG_URL = /^(https?|tel|mailto)/i;
export const REG_APP_SCHEME = /^()/i;
export const REG_EMOJI = /\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F]/g;
export const REG_BASE64 = /^data:(\w+)\/(\w+);base64,(.*)/;
// RGBA
export const REG_RGBA = /(0?\.?\d{1,3})%?\b/g;
// 手机号
export const REG_PHONE_NUMBER = /^1[34578]\d{9}$/;
// 身份证号
export const REG_ID_NUMBER = /(^\d{18}$)|(^\d{17}(\d|x)$)/i;
// 身份证号去空格
export const REG_ID_NUMBER_TRIM = /[^0-9|^x]/gi;
// 营业执照
export const REG_BUSINESS_LICENCE = /(^(?:(?![IOZSV])[\dA-Z]){2}\d{6}(?:(?![IOZSV])[\dA-Z]){10}$)|(^\d{15}$)/;
// 邮箱
export const REG_EMAIL = /^(\w)+(\.\w+)*@(\w)+((\.\w+)+)$/;
// 银行卡号
export const REG_BANK_NUMBER = /^\d{16}|\d{19}$/;
